package com.coocaa.ops.admin.v1.poster.service;


import com.coocaa.ops.common.core.base.model.R;
import com.coocaa.ops.common.core.biz.auth.entity.SysUserEntity;
import com.coocaa.ops.common.core.biz.poster.entity.GlobalPictureEntity;

import java.util.List;

/**
 * @author bjh
 * @description 素材图片表-更新service接口
 * @date 2020-06-13 10:50:35
 */
public interface  IGlobalPictureUpdateService {
    /**
     * 批量保存
     *
     * @param list
     * @param user
     */
    void saveBatch(List<GlobalPictureEntity> list, SysUserEntity user);

    /**
     * 保存
     *
     * @param entity
     * @param user
     */
    void save(GlobalPictureEntity entity, SysUserEntity user);

    /**
     * 批量审核
     *
     * @param pictureIdsStr
     * @param user
     * @param auditFlag
     * @param auditDesc
     */
    void batchAudit(String pictureIdsStr, SysUserEntity user, Integer auditFlag, String auditDesc);

    /**
     * 批量删除
     *
     * @param ids
     * @param user
     * @return
     */
    R deleteBatch(Integer[] ids, SysUserEntity user);
}
